home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010921-20020314
/
000222_Matthew_Clarke@mindlink.bc.ca_Sat Dec 8 12:21:43 EST 2001.msg
< prev
next >
Wrap
Text File
|
2002-03-13
|
3KB
|
75 lines
Article: 13048 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news-peer.gip.net!news.gsl.net!gip.net!newsfeed.cwix.com!torn!newsfeed.telusplanet.net!news1.telusplanet.net.POSTED!not-for-mail
From: Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>
Newsgroups: comp.os.linux.misc,comp.protocols.kermit.misc
Subject: Re: Can't open("/dev/tty",O_RDWR) in RH7.1/ia64
References: <9uofq3$otq$1@watsol.cc.columbia.edu> <3C101149.5050103@redhat.com> <9uql37$m2c$1@watsol.cc.columbia.edu>
User-Agent: nn/6.6.1
Lines: 59
Message-ID: <yQfQ7.19919$O3.2467700@news1.telusplanet.net>
Date: Sat, 08 Dec 2001 03:31:42 GMT
NNTP-Posting-Host: 66.183.32.75
X-Trace: news1.telusplanet.net 1007782302 66.183.32.75 (Fri, 07 Dec 2001 20:31:42 MST)
NNTP-Posting-Date: Fri, 07 Dec 2001 20:31:42 MST
Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:529887 comp.protocols.kermit.misc:13048
fdc@columbia.edu (Frank da Cruz) writes:
>In article <3C101149.5050103@redhat.com>,
>Michael Lee Yohe <myohe+USENET@redhat.com> wrote:
>: > open() returns -1 with errno = 6 ("No such device or address")
>: > on the following platform:
>:
>: Can you interact with /dev/tty? For instance, can you type "cat
>: /dev/tty", type things and see them echo'd back?
>:
>When I first log in (over Telnet):
>
> Warning: no access to tty (Inappropriate ioctl for device).
> Thus no job control in this shell.
>
>Then:
>
> spe190> cat > /dev/tty
> /dev/tty: No such device or address.
> spe190>
[ snip ]
>Again, the platform details:
>
>uname -a:
> Linux spe190 2.4.9-12smp #1 SMP Tue Oct 30 17:55:42 EST 2001 ia64 unknown
>
>/etc/issue:
> Red Hat Linux release 7.1 (Seawolf)
> Kernel 2.4.9-12smp on a 4-processor ia64
A search on RedHat's errata pages shows a bug advisory (RHBA-2001-153)
issued 13 November, but updated today, about this same symptom (but with
tcsh and login.) Seems that login was not always assigning a controlling
TTY for the session, which would make most use of "/dev/tty" somewhat less
than useful.
http://www.redhat.com/support/errata/RHBA-2001-153.html
[ snip ]
>Here's another peculiarity I noticed:
>
> cat > open.c
> (paste...)
> ^D
> make open
> make: *** Warning: File `open.c' has modification time in the future
> (2001-12-07 09:39:23 > 2001-12-07 09:38:58)
> cc open.c -o open
> make: warning: Clock skew detected. Your build may be incomplete.
>
>This is strange because I created the file with cat, so it got the system
>time, not some random time from a remote file system.
Hm. The NTP daemon stepping a too-fast clock backwards?
>- Frank